package com.hrms.service;

import com.hrms.common.AjaxResult;
import com.hrms.domain.Department;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 15770
* @description 针对表【t_department】的数据库操作Service
* @createDate 2024-12-17 21:55:50
*/
public interface DepartmentService extends IService<Department> {

    List<Department> selectDepartmentList(Department department);

    Department selectDepartmentByDeptNo(Long deptNo);

    int insertDepartment(Department department);

    int updateDepartment(Department department);

    int deleteDepartmentByDeptNos(Long[] deptNos);
}
